#include "qlabelextclick.h"

QLabelExtClick::QLabelExtClick( const QString & text, QWidget * parent ):QLabel(parent)
{
}

void QLabelExtClick::mousePressEvent ( QMouseEvent * event )
{
	emit clicked(this->getPdfPath().c_str());
} 

void QLabelExtClick::setPdfPath(std::string s){
	this->pdfPath=s;
}

std::string QLabelExtClick::getPdfPath(){
	return pdfPath;
}
